package com.nq.common;

/**
 * 存储交易所类型
 */
public enum ExchangeEnum {

    // HOSEIN证券交易所
    HOSEIN("HOSEIN", "11:30:00", "18:00:00"),
    // HNX券交易所
    HNX("HNX", "11:30:00", "18:00:00"),
    // UPCOM证券交易所
    UPCOM("UPCOM", "21:30:00", "04:00:00");

    // 交易所代码
    private String exchangeCode;

    // 开盘时间（北京）
    private String beijingOpen;

    // 收盘时间（北京）
    private String beijingClose;

    ExchangeEnum(String exchangeCode, String beijingOpen, String beijingClose){
        this.exchangeCode = exchangeCode;
        this.beijingOpen = beijingOpen;
        this.beijingClose =  beijingClose;
    }


    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }

    public String getBeijingOpen() {
        return beijingOpen;
    }

    public void setBeijingOpen(String beijingOpen) {
        this.beijingOpen = beijingOpen;
    }

    public String getBeijingClose() {
        return beijingClose;
    }

    public void setBeijingClose(String beijingClose) {
        this.beijingClose = beijingClose;
    }
}
